#include "mgr.h"
#include "register.h"

int main()
{
    register_all_plugins();

    PluginMgr *mgr = PluginMgr::Instance();

    Plugin *pl_ssc = mgr->Resolve("ssc");
    pl_ssc->act();
    delete pl_ssc;

    std::shared_ptr<Plugin> pl_post = mgr->ResolveShared("post");
    pl_post->act();

    return 0;
}
